feat: archive submitted feedback to the shared plannotator index - #56
Merged
Conversation
refs plannotator feedback-archive contract v1 (443e1fcf)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements plannotator-tui's side of the shared feedback archive (Plannotator PR backnotprop/plannotator#1438, schema v1 frozen at 443e1fcf).
On every successful send (agent delivery or clipboard), one record is appended to
{PLANNOTATOR_DATA_DIR}/feedback/{project}/index.jsonlwithclient: plannotator-tui, plus a-plannotator-tui-suffixed markdown sidecar for content-bearing records.Contract points implemented:
writecall (write_allbanned), Interrupted-only retry, terminate-don't-splice on partial, archiving never fails the sendannotate/annotate-folder/annotate-last;target.agent {host, session, transcript}for agent-message reviews;clientVersionstampedoriginin Plannotator's spellings (claude-code, copilot-cli, oh-my-pi)PLANNOTATOR_FEEDBACK_HISTORYenv overfeedbackHistoryin the data dir'sconfig.jsonover default-onPinned-byte test locks the exact v1 line shape; further tests cover collisions, decision-only lines, env/config knob semantics, host label mapping, and agent provenance.
DO NOT MERGE until Plannotator's #1438 merges (contract freeze) — the ops session confirms the merged sha first.
https://claude.ai/code/session_01L232F8ev8RX6Jwd7PepsUz